<?php

class BackendArticleRecommendationLogForm extends ArticleRecommendationLogForm
{
  public function configure()
  {
    unset(
      $this['created_at'], $this['updated_at'], 
      $this['proposer_id'], $this['article_id']
    );

    $table = $this->getModelName() . 'Table';
    $this->widgetSchema['status'] = new sfWidgetFormChoice(array(
      'choices' => $table::getStatusTypes()
    ));
  }
}
